package h_factory.d_abstract;

/**
 * Created by wug on 2016/7/11 0011.
 * 英雄盖伦的工厂 只生产盖伦相关的内容
 */
public class HeroFactoryGaren implements HeroFactory {
    @Override
    public Skin makeSkin(int type) {
        if (type == 2) {
            return new SkinGoldSaintsDEMarcia();
        }
        return new SkinGoldDEMarcia();
    }

    @Override
    public Weapon makeWeapon(int type) {
        return new WeaponGoldGreatsword();
    }
}
